"""
Tank Battle Game - Main Entry Point
"""
import pygame
import sys
import os

# Add src directory to Python path
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src'))

from game.game import TankGame

def main():
    """Main function"""
    try:
        game = TankGame()
        game.run()
    except Exception as e:
        print(f"Error running game: {e}")
        pygame.quit()
        sys.exit(1)

if __name__ == "__main__":
    main()
